class AddResultsAvgEtc < ActiveRecord::Migration
  def self.up
    add_column :results, :avg, :float
    add_column :results, :children_total, :integer
    add_column :results, :children_avg, :float
    add_column :results, :dimen_total, :integer
    add_column :results, :dimen_avg, :float
  end

  def self.down
    remove_column :results, :avg
    remove_column :results, :children_total
    remove_column :results, :children_avg
    remove_column :results, :dimen_total
    remove_column :results, :dimen_avg
  end
end
